<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
<LINK REL="stylesheet" HREF="CSS/Main.css" TYPE="text/css">
<LINK REL="stylesheet" HREF="CSS/Button.css" TYPE="text/css">
</head>
<body>

<div id="top">
	<h1>Master Data Management</h1>
	<br>
	<a id="log" href="logout">Logout</a><br>
    		<%@ include file="redirection.jsp" %>
	<div id="menu">
      <ul>
        <li>
        	<form action = "logout" method="post">
				<a><input type="submit" name="Logout" value="Logout"></a>
			</form>
		</li>
      </ul>
    </div>
</div>


<form>
	<h2>Search</h2>
	<Table>
		<tr>
			<td>Location: </td>
			<td><input type="text" name="Location"></td>
			
			<td>Currency: </td>
			<td><input type="text" name="Currency"></td>
			
			<td>Market: </td>
			<td><input type="text" name="Market"></td>
			
			<td>Commodity: </td>
			<td><input type="text" name="Commodity"></td>
		</tr>
	</Table>
	<input type="submit" name="submit" value="submit">
</form>


<form>
<Table>
	<tr>
		<td>Mapping Entity</td>
		<td><input type="text" name="Entity"></td>
	</tr>
	<tr>
		<td>Mapping String</td>
		<td><input type="text" name="String"></td>
	</tr>
	<tr>
		<td>Mapping Description</td>
		<td><input type="text" name="Description"></td>
	</tr>
	<tr>
		<td>Start Date</td>
		<td><input type="text" name="StartDate"></td>
	</tr>
	<tr>
		<td>Source System</td>
		<td><input type="text" name="Source"></td>
	</tr>
</Table>

<input type="submit" name="submit" value="submit">

</form>


			<%if(session.getAttribute("role").equals("admin")){%>
				<form action="Home.jsp">
					<input type="submit" class="button"name="Home" value="Home">
				</form>		
			<%}else{%>
				<form action="HomeUser.jsp">
					<input type="submit" class="button"name="Home" value="Home">
				</form>	
			<% }%>	

</body>
</html>